package com.byyy.ccts.modules.sys.service.impl;

import com.byyy.ccts.core.common.service.impl.CommonServiceImpl;
import com.byyy.ccts.modules.sys.entity.RelHistory;
import com.byyy.ccts.modules.sys.entity.Role;
import com.byyy.ccts.modules.sys.mapper.RelHistoryMapper;
import com.byyy.ccts.modules.sys.mapper.RoleMapper;
import com.byyy.ccts.modules.sys.service.IRelHistoryService;
import com.byyy.ccts.modules.sys.service.IRoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by cheruixue on 2019-06-18.
 * 冷链发布历史
 */
@Transactional
@Service("relHistoryService")
public class RelHistoryServiceImpl extends CommonServiceImpl<RelHistoryMapper, RelHistory> implements IRelHistoryService {
    /**
     * 获取所有发布历史按照时间排序
     * @return
     */
    @Override
    public List<RelHistory> getAllRelHistory() {
        return baseMapper.getAllRelHistory();
    }
}
